package cn.miju.database.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * <pre>
 * 用户角色授权
 * </pre>
 *
 * @author zhuming
 * @version 1.0.0
 * @since 2023-03-28 16:23
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_user_auth_role")
@EqualsAndHashCode(callSuper = true)
public class SysUserAuthRole extends AutoEntity {

    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 角色ID
     */
    private Long roleId;

}
